package org.blogwu.learn.jvmlearn.params;

/**
 * -XX:NewSize=5242880 -XX:MaxNewSize=5242880 -XX:InitialHeapSize=10485760
 * -XX:MaxHeapSize=10485760 -XX:SurvivorRatio=8 -XX:PretenureSizeThreshold=10485760
 * -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:+PrintGCDetails -XX:+PrintGCTimeStamps
 */
public class Test1 {

    public static void main(String[] args) {
//        System.gc();
        byte[] arrays= new byte[1024*1024];
        arrays= new byte[1024*1024];
        arrays= new byte[1024*1024];
        arrays=null;

        byte[] arrays2= new byte[2*1024*1024];
    }
}
